import request from '@/utils/request.js'

//微信一键登录
export const loginByWechat = ( data )=>{
	return request.post('/api/xlx-sso/oauth/wechat/loginByWechat',data);
}

//获取手机号
export const getPhone = ( data )=>{
	return request.post('/api/xlx-sso/oauth/wechat/getPhone',data);
}

//微信登录获取token
export const loginAppByWechat = ( data )=>{
	return request.post('/api/xlx-sso/oauth/wechat/loginAppByWechat',data);
}
